<?php
/*
	
*/
defined('BY_JYA') or exit('Access Denied');
global $_RQ,$_AR;
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
if($_RQ['op']=='main'){
	$return['list']=array();
	set_html('title','内力排行榜');
	exi($return);
}
if($_RQ['op']=='list'){
	$pindex = max(1, intval($_RQ['page']));
	$psize = 15;
	$params=array('uniacid'=>$_SESSION['uniacid']);
    $orderby='neili desc';
	$total='';
	$return['list']=pdo_getslice('jy_jianghu_member',$params,array($pindex,$psize),$total,$fields,'',$orderby);	
	$basic=$return['pluginset'];
	foreach($return['list'] as &$v){
			$v['createtime']=date('Y-m-d H:m:s',$v['createtime']);
			$v['member']=cfc('core')->member_show($v['mid']);
	}
	exi($return);
}

